<!doctype html>
<html lang="zh-CN">
<head>
  <meta charset="UTF-8">
  <link rel="icon" href="__PUBLIC__/Image/logo.ico">
  <link rel="stylesheet" href="__PUBLIC__/Css/Admin/common.css">
  <link rel="stylesheet" href="__PUBLIC__/Css/Admin/style.css">
  <script type="text/javascript" src="__PUBLIC__/Js/Admin/jquery.min.js"></script>
  <script type="text/javascript" src="__PUBLIC__/Js/Admin/jquery.SuperSlide.js"></script>
  <script type="text/javascript">
  $(function(){
      $(".sideMenu").slide({
         titCell:"h3", 
         targetCell:"ul",
         defaultIndex:0, 
         effect:'slideDown', 
         delayTime:'500' , 
         trigger:'click', 
         triggerTime:'150', 
         defaultPlay:true, 
         returnDefault:false,
         easing:'easeInQuint',
         endFun:function(){
              scrollWW();
         }
       });
      $(window).resize(function() {
          scrollWW();
      });
      
      $(".sideMenu").find("li").each(function(){
    	  $(this).click(function(){
    		  $(".sideMenu").find("li").each(function(){
    	    		 $(this).removeClass("on"); 
    	    	  });
    		  $(this).addClass("on");
    	  });
    	 
      }); 
  });
  function scrollWW(){
    if($(".side").height()<$(".sideMenu").height()){
       $(".scroll").show();
       var pos = $(".sideMenu ul:visible").position().top-38;
       $('.sideMenu').animate({top:-pos});
    }else{
       $(".scroll").hide();
       $('.sideMenu').animate({top:0});
       n=1;
    }
  } 

var n=1;
function menuScroll(num){
  var Scroll = $('.sideMenu');
  var ScrollP = $('.sideMenu').position();
  /*alert(n);
  alert(ScrollP.top);*/
  if(num==1){
     Scroll.animate({top:ScrollP.top-38});
     n = n+1;
  }else{
    if (ScrollP.top > -38 && ScrollP.top != 0) { ScrollP.top = -38; }
    if (ScrollP.top<0) {
      Scroll.animate({top:38+ScrollP.top});
    }else{
      n=1;
    }
    if(n>1){
      n = n-1;
    }
  }
}

function rightLink(url){
	$("#rightMain").attr("src", url);
}
  </script>
  <title>义达生态旅游管理平台</title>
</head>
<body>
    <div class="top">
      <div id="top_t">
      
        <div id="logo" class="fl">
        	<a href="{:U('Index/main')}" target="right">
        		<img src="__PUBLIC__/Image/Admin/logo2.png" alt="" width="100%" height="81px">
        	</a>
        </div>
        
        <div id="photo_info" class="fr">
          <div id="photo" class="fl">
            <a href="#"><img src="__PUBLIC__/Image/Admin/a.png" alt="" width="60" height="60"></a>
          </div>
          <div id="base_info" class="fr">
            <div class="help_info">
              <a href="1" id="hp">&nbsp;</a>
              <a href="2" id="gy">&nbsp;</a>
              <a href="{:U('Index/logout')}" id="out">&nbsp;</a>
            </div>
            <div class="info_center">
              {$_SESSION['loginUser_Admin']}
            </div>
          </div>
        </div>
      </div>
      <div id="side_here">
        <div id="side_here_l" class="fl"></div>
        <!-- <div class="fl here_area">当前位置：</div> -->
        <div class="here_area" style="float:right;padding-right:1%;">
        	<a href="{:U('Index/main')}" target="right" style="text-decoration:underline">返回首页</a>
        </div>
      </div>
    </div>
    <div class="side">
        <div class="sideMenu" style="margin:0 auto">
          <h3>景点管理</h3>
          <ul>
            <li><a href="{:U('Attraction/attrTypeList')}" target="right">景点类型管理</a></li>
            <li><a href="{:U('Attraction/attractionList')}" target="right">景点管理</a></li>
            <li><a href="{:U('Attraction/aroundTypeList')}" target="right">周边游类型管理</a></li>
            <li><a href="{:U('Attraction/aroundList')}" target="right">周边游管理</a></li>
            <li><a href="{:U('Attraction/travelTipList')}" target="right">游记管理</a></li>
          </ul>
          <h3>订单管理</h3>
          <ul>
            <li ><a href="{:U('Order/orderList')}" target="right">订单管理</a></li>
          </ul>
          <h3>用户管理</h3>
          <ul>
            <li class="on"><a href="{:U('User/userList')}" target="right">用户管理</a></li>
          </ul>
          <h3>评论管理</h3>
          <ul>
            <li><a href="{:U('Comment/commentList')}" target="right">评论管理</a></li>
          </ul>
          <h3>内容管理</h3>
          <ul>
            <li><a href="{:U('Content/contentList')}" target="right">内容管理</a></li>
            <li><a href="{:U('Content/advertisementList')}" target="right">广告管理</a></li>
          </ul>
         <!--  <h3>系统管理</h3>
          <ul>
            <li><a href="{:U('System/system')}" target="right">数据库管理</a></li>
            <li><a href="{:U('System/system')}" target="right">接口管理</a></li>
            <li><a href="{:U('System/system')}" target="right">系统日志</a></li>
          </ul> -->
          <h3>权限管理</h3>
          <ul>
            <li><a href="{:U('Authority/entryCityList')}" target="right">入口城市管理</a></li>
          </ul>
          <h3>其他管理</h3>
          <ul>
          	<li><a href="{:U('Other/cityList')}" target="right">城市管理</a></li>
          	<li><a href="{:U('Other/securityQuestion')}" target="right">密保问题管理</a></li>
          	<li><a href="{:U('Other/protocol')}" target="right">协议管理</a></li>
            <!-- <li><a href="{:U('Other/other')}" target="right">系统初始化管理</a></li>
            <li><a href="{:U('Other/other')}" target="right">系统配置管理</a></li>
            <li><a href="{:U('Other/other')}" target="right">基础设置管理</a></li> -->
          </ul>
       </div>
    </div>
    <div class="main">
       <iframe name="right" id="rightMain" src="{:U('Index/main')}" frameborder="no" scrolling="auto" width="100%" height="auto" allowtransparency="true"></iframe>
    </div>
    <div id="login_bottom">
		<include file="Public:footer" />
	</div>
    <div class="scroll">
          <a href="javascript:;" class="per" title="使用鼠标滚轴滚动侧栏" onclick="menuScroll(1);"></a>
          <a href="javascript:;" class="next" title="使用鼠标滚轴滚动侧栏" onclick="menuScroll(2);"></a>
    </div>
</body>

</html>
   
 